/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.namabank.exception;

import com.namabank.servlet.EvaluateParam;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author Gostep
 */
public class CloseResponseException extends Exception {
    private EvaluateParam responseResult;
    private HttpServletResponse response;

    public CloseResponseException(){

    }
    public CloseResponseException(HttpServletResponse response, EvaluateParam responseResult){
        this.responseResult = responseResult;
        this.response = response;
    }

    /**
     * @return the responseResult
     */
    public EvaluateParam getResponseResult() {
        return responseResult;
    }

    /**
     * @param responseResult the responseResult to set
     */
    public void setResponseResult(EvaluateParam responseResult) {
        this.responseResult = responseResult;
    }

    /**
     * @return the response
     */
    public HttpServletResponse getResponse() {
        return response;
    }

    /**
     * @param response the response to set
     */
    public void setResponse(HttpServletResponse response) {
        this.response = response;
    }
}
